package com.zuipin.vo;

import com.zuipin.enums.ProductStatus;
import com.zuipin.enums.ProductUnit;

/** 
 * @ClassName: ProductFromCbsVo 
 * @author wuyicheng
 * @time 2017年8月10日下午2:59:09 
 */
public class ProductFromCbsVo {
	
	/*	{
	"supplierId": 9, 
	"productCatId": 40, 
	"weight": 100, 
	"updateTime": "2017-08-23 11:03:58", 
	"specifications": "100g", 
	"upator": "内置超级管理员", 
	"isExpPro": 0, 
	"proNo": "huihang-000001", 
	"proUnit": "克", 
	"supplierUseName": "供应定义品名 E小调小提琴协奏曲", 
	"isVirtual": 0, 
	"proName": "8.19 门德尔松e小调 仲夏夜之梦 柴可夫斯基 花之圆舞曲", 
	"productType": 0, 
	"status": "上架"
	}*/
	
	private String				proNo;							// 商品编码
	private Long				productCatId;					// 商品分类
	private String				proName;						// 商品名称
	private Long				supplierId;						// 供应商ID
	private String				supplierUseName;				// 供应商自定义品名
	private ProductUnit			proUnit;						// 单位
	private String				specifications;					// 规格
	private Integer				productType	= 0;				// 业务类型 0:自营商品;1:联营商品
	private Integer				isVirtual	= 0;				// 是否是虚拟，默认0：不是虚拟； 1：是虚拟
	private Double				weight;							// 重量(毛重)
	private ProductStatus		status		= ProductStatus.上架;	// 是否上下架(默认上架)
	private Double				supplyPrice;					// 联营结算价
	private Short				isExpPro	= 0;				// 是否体验品, 0: 不是； 1： 是
	private String				upator;							// 操作人
	private String				updateTime;						// 操作时间
	private String				proNoSku;						// 外部编码
	private Long				erpProId;						// erp商品Id
	private Long				cbsProId;						// cbs商品id
	
	public static final Integer	NO_VIRTUAL	= 0;				// 不是虚拟品
	public static final Integer	YES_VIRTUAL	= 1;				// 是虚拟品
	
	public static final Short	NO_EXPPRO	= 0;				// 不是体验品
	public static final Short	YES_EXPPRO	= 1;				// 是体验品
	
	public String getProNo() {
		return proNo;
	}
	
	public void setProNo(String proNo) {
		this.proNo = proNo;
	}
	
	public Long getProductCatId() {
		return productCatId;
	}
	
	public void setProductCatId(Long productCatId) {
		this.productCatId = productCatId;
	}
	
	public String getProName() {
		return proName;
	}
	
	public void setProName(String proName) {
		this.proName = proName;
	}
	
	public Long getSupplierId() {
		return supplierId;
	}
	
	public void setSupplierId(Long supplierId) {
		this.supplierId = supplierId;
	}
	
	public String getSupplierUseName() {
		return supplierUseName;
	}
	
	public void setSupplierUseName(String supplierUseName) {
		this.supplierUseName = supplierUseName;
	}
	
	public ProductUnit getProUnit() {
		return proUnit;
	}
	
	public void setProUnit(ProductUnit proUnit) {
		this.proUnit = proUnit;
	}
	
	public String getSpecifications() {
		return specifications;
	}
	
	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}
	
	public Integer getProductType() {
		return productType;
	}
	
	public void setProductType(Integer productType) {
		this.productType = productType;
	}
	
	public Integer getIsVirtual() {
		return isVirtual;
	}
	
	public void setIsVirtual(Integer isVirtual) {
		this.isVirtual = isVirtual;
	}
	
	public Double getWeight() {
		return weight;
	}
	
	public void setWeight(Double weight) {
		this.weight = weight;
	}
	
	public ProductStatus getStatus() {
		return status;
	}
	
	public void setStatus(ProductStatus status) {
		this.status = status;
	}
	
	public Double getSupplyPrice() {
		return supplyPrice;
	}
	
	public void setSupplyPrice(Double supplyPrice) {
		this.supplyPrice = supplyPrice;
	}
	
	public Short getIsExpPro() {
		return isExpPro;
	}
	
	public void setIsExpPro(Short isExpPro) {
		this.isExpPro = isExpPro;
	}
	
	public String getUpator() {
		return upator;
	}
	
	public void setUpator(String upator) {
		this.upator = upator;
	}
	
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getProNoSku() {
		return proNoSku;
	}
	
	public void setProNoSku(String proNoSku) {
		this.proNoSku = proNoSku;
	}
	
	public Long getErpProId() {
		return erpProId;
	}
	
	public void setErpProId(Long erpProId) {
		this.erpProId = erpProId;
	}
	
	public Long getCbsProId() {
		return cbsProId;
	}
	
	public void setCbsProId(Long cbsProId) {
		this.cbsProId = cbsProId;
	}
	
}
